<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加课程</title>
    <link rel="stylesheet" href="../html/addSubject.html">
</head>
<body>
    <!-- 
        https://www.bingjs.com:8001/Subject/Add  添加课程  [POST请求]
        参数：
        (
            subjectName：课程名称
            classHour：课时
            gradeId：年级编号
        )
     -->
     <div class="container">
        <h2 id="title">添加课程</h2>
        <table>
            <tr>
                <td>课程名称</td>
                <td>
                    <input type="text" name="" id="subjectName">
                    <span id="sub_name_ts"></span>
                </td>
            </tr>
            <tr>
                <td>课时</td>
                <td>
                    <input type="text" name="" id="classHour">
                    <span id="sub_classHour_ts"></span>
                </td>
            </tr>
            
            <tr>
                <td>年级编号</td>
                <td>
                    <select name="" id="gradeId">
                        <!-- <option value="0">请选择年级</option>
                        <option value="1">一年级</option>
                        <option value="2">二年级</option>
                        <option value="3">三年级</option> -->
                    </select>
                    <span id="sub_gradeId_ts"></span>
                </td>
            </tr>
            
            <tr>
                <td>
                    <button type="submit" id="add_btn">提交</button>
                    <button type="reset" id="cancel_btn">重置</button>
                </td>
            </tr>
        </table>
     </div>
    <script src="../js/addSubject.js"></script>
</body>
</html>